package com.sprometheus.strategy;

import com.sprometheus.core.pojo.GlobalExceptionBO;
import com.sprometheus.core.pojo.Groups;

import java.util.Set;

public interface RoutingStrategy {

    //开关
    boolean isEnabled();
    //包含的路径
    Set<String> getIncludedTracePackage();
    //业务群推送
    Set<Groups> getBusiness();
    //开发群推送
    Set<Groups> getDeveloper();

    boolean send(GlobalExceptionBO message);

}
